package com.javandad.app.client.profile;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javandad.app.shared.entity.User;

@RemoteServiceRelativePath("profile")
public interface ProfileService extends RemoteService {
	String registerNewUser(User newUser);
	boolean userExists(String username);
	User getUser();
	User getUser(String username);
	boolean changeUser(User changedUser);
}
